<x-app-layout>
    <x-slot name="header">
        <div class="flex justify-between">
            <h2 class="font-semibold text-xl inline-flex items-center text-gray-800 leading-tight md:mr-auto">
                {{__('Create')}}
            </h2>

                    <a href="{{url()->previous()}}" class="btn-link mr-2">
                        <i class="fa fa-arrow-left mr-1"></i>
                        {{ __('Back') }}
                    </a>
        </div>
    </x-slot>
    <div class="py-12">
        <div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
            <livewire:archives.create :archive="$archive" :categories="$categories" :category="$category">
        </div>
    </div>
</x-app-layout>
